package com.lesales.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.lesales.dao.interfaces.IAccountDao;
import com.lesales.model.User;
import com.lesales.service.interfaces.IAccountService;

@Service
public class AccountServiceImpl extends BaseServiceImpl<User, Serializable> implements IAccountService {

	@Autowired
	@Qualifier("accountDaoImpl")
	private IAccountDao accountDao;

	@Override
	public List<User> checkName(User user) {
		// TODO Auto-generated method stub
		return accountDao.checkName(user);
	}

	@Override
	public List<User> checkPassword(User user) {
		// TODO Auto-generated method stub
		return accountDao.checkPassword(user);
	}

}
